programming4us
           
 
 
SQL Server

Central Management Servers (part 3) - Configuring Multi-Server Query Options

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
10/17/2010 5:55:31 PM

3. Configuring Multi-Server Query Options

Multi-server query results have three configurable options. Adding the server name to the results is one of them, and you've seen that option already in Figure 6. The complete list of options is as follows:

  • Add login name to the results

  • Add server name to the results

  • Merge results into one result set

The default configuration is to add the server name and merge the results. To change the multi-server result options, follow these steps:

  1. Select Options from the Tools Menu in SQL Server Management Studio.

  2. Navigate to Multiserver Results options using the tree menu in the Options dialog box. Expand the Query Results node, expand the SQL Server node and then select Multiserver Results, as shown in Figure 6.

  3. Change the options to the desired configuration and click OK.

Figure 6. Multiserver Results configuration options

If the result set is being merged, the column headers are derived from the first server that returns the results. If a result set is returned by a subsequent server that does not have the same number of columns or the column names do not match, an error will be returned indicating that the result sets cannot be merged. Also, if one of the servers is missing an object used in the query, the result sets cannot be merged and an error is returned.

If you do not merge the results, each result set will have its own schema and column set, meaning the number of columns or column names do not have to match. You will, however, receive an error if one of the objects in the query does not exist on one of the servers in the group. Since each result set is individually returned, this is more of an informational message indicating that the server does not contain the object and does not stop the query from executing on the remaining servers.

Other -----------------
- SQL Server 2008 : The sqlcmd Command-Line Utility
- Installing SQL Server 2008 Using a Configuration File
- SQL Server 2008 : Slipstream Installations
- SQL Server Programmability Objects
- SQL Server 2005 : Data Querying and Reporting (part 2)
- SQL Server 2005 : Data Querying and Reporting (part 1)
- Configuring SQL Server 2008 : Instances vs Default Instance
- sp_configure and SQL Server Management Studio
- Configuring SQL Server 2008 : Database Mail
- Configuring SQL Server 2008 : Full-Text Indexing
- SQL Server 2008 : Working with Indexes
- SQL Server 2008 : Working with Constraints
- SQL Server 2008 : Working with Tables and Views
- SQL Server 2008 : Viewing and Modifying Data (part 3) - Creating Functions and Creating Triggers
- SQL Server 2008 : Viewing and Modifying Data (part 2) - Creating Stored Procedures
- SQL Server 2008 : Viewing and Modifying Data (part 1) - Creating Views
 
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
- First look: Apple Watch

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
programming4us programming4us